package com.xinsoft.entity.dto;

import com.xinsoft.entity.po.ScmOutsourcingOutstock;
import com.xinsoft.entity.po.ScmOutsourcingOutstockItem;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class ScmOutsourcingOutstockDTO extends ScmOutsourcingOutstock {

    @Valid
    @NotEmpty(message = "委外出库明细不能为空")
    List<ScmOutsourcingOutstockItem> scmOutsourcingOutstockItemList;
}
